package com.qf.interceptors;



import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.web.servlet.HandlerInterceptor;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class DefaultGlobalInterceptor implements HandlerInterceptor {
    private final Log logger= LogFactory.getLog(DefaultGlobalInterceptor.class);


    @Override
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
        logger.info("preHandle我被执行了………………");
        return true;
    }
}
